package com.laopan.wxpay.enums;

/**
 * <p>
 *
 * </p>
 *
 * @author laopan
 * @className CallBackEvent
 * @date 2021/4/29 11:24
 */

public enum  CallBackEventType {

    REFUND_SUCCESS("REFUND.SUCCESS","退款成功通知"),
    REFUND_ABNORMAL("REFUND.ABNORMAL","退款异常通知"),
    REFUND_CLOSED("REFUND.CLOSED","退款关闭通知"),
    TRANSACTION_SUCCESS("TRANSACTION.SUCCESS","支付成功通知");
    private final String msg;
    private  final String code;

    CallBackEventType(String msg, String code) {
        this.msg = msg;
        this.code = code;
    }
    public String getMsg() {
        return msg;
    }
    public String getCode() {
        return code;
    }
}
